export function config(params) {
  return defaultAsset(params)
}

function defaultAsset(params) {
  return {
    show: false,
    selected: 0,
    color: "#default",
    selectedColor: "#4b9afc",
    borderStyle: "black",
    backgroundColor: "#ffffff",
    itemClass: '', // 补充tab-bar的额外class
    list: [{
        pagePath: "/pages/index/index",
        icon: 'icon-index',
        text: "首页",
        reddot: '0',
        show: true
      },
      {
        pagePath: "/pages/cp/index",
        icon: 'icon-my',
        text: "组件",
        reddot: '0',
        show: true
      },
      {
        pagePath: "/pages/admire/index",
        icon: 'icon-good',
        text: "赞赏",
        reddot: '0',
        show: true
      }
    ]
  }
}